package com.letfox.user.enums;

/**
 * 用户枚举类
 */
public class UserEnums {

	public static final String USER_STATE = "USER_STATE";

	public static final String USER_AUTH_STATE = "USER_AUTH_STATE";
	
	public static final String USER_GENDER = "USER_GENDER";

	/**
	 * 用户性别
	 */
	public enum UserGender{
		MAN("男","1"),WOMAN("女","0");
		
		private String name;
		private String value;

		private UserGender(String name, String value) {
			this.name = name;
			this.value = value;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}
	
	/**
	 * 用户状态
	 */
	public enum UserState {
		FREEZE("冻结", "0"), STARTUP("启用", "1");

		private String name;
		private String value;

		private UserState(String name, String value) {
			this.name = name;
			this.value = value;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}

	/**
	 * 用户认证状态
	 */
	public enum UserAuthState {
		AUTH("未认证", "0"), NO_AUTH("已认证", "1");

		private String name;
		private String value;

		private UserAuthState(String name, String value) {
			this.name = name;
			this.value = value;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}
}
